<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
</head>
<body>
<div class="container" th:fragment="footer(str)" >
    <hr>
    <p>这是页脚</p>
    <p th:text="${str}"></p>
</div>


</body>
</html>